import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';

export default async function a001(fd: IFeidaoAiBrowserComponent, ) {
	//搜索
	const b = fd.data.node.querySelector<HTMLInputElement>('[data-id="risk_po_type_name"]').value;
	const res = await nodejs('risk-point/zj-000004/s001', {
		filter: {
			risk_po_type_name: b
		}
	});
	render(fd, res, p001, 'p001', 'inner');


}
